package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitUserIndexIntroRouter(Router *gin.RouterGroup) {
	UserIndexIntroRouter := Router.Group("userIndexIntro").Use(middleware.OperationRecord())
	{
		UserIndexIntroRouter.POST("createUserIndexIntro", v1.CreateUserIndexIntro)   // 新建UserIndexIntro
		UserIndexIntroRouter.DELETE("deleteUserIndexIntro", v1.DeleteUserIndexIntro) // 删除UserIndexIntro
		UserIndexIntroRouter.DELETE("deleteUserIndexIntroByIds", v1.DeleteUserIndexIntroByIds) // 批量删除UserIndexIntro
		UserIndexIntroRouter.PUT("updateUserIndexIntro", v1.UpdateUserIndexIntro)    // 更新UserIndexIntro
		UserIndexIntroRouter.GET("findUserIndexIntro", v1.FindUserIndexIntro)        // 根据ID获取UserIndexIntro
		UserIndexIntroRouter.GET("getUserIndexIntroList", v1.GetUserIndexIntroList)  // 获取UserIndexIntro列表
	}
}
